package io.jnet.server.util;

import io.jnet.server.api.ServerListener;
import io.jnet.server.api.ServerChannelContext;

public class DefaultServerListener implements ServerListener
{
    
    @Override
    public void afterWrited(ServerChannelContext serverChannelContext, int writes)
    {
        
    }
    
    @Override
    public void catchException(Throwable e, ServerChannelContext serverChannelContext)
    {
        serverChannelContext.close();
    }
    
    @Override
    public void readRegister(ServerChannelContext serverChannelContext)
    {
        
    }
    
    @Override
    public void backToIdle(ServerChannelContext serverChannelContext)
    {
        
    }
    
}
